﻿using Microsoft.SharePoint.Client;
using Sources;
using System.Collections.Generic;

namespace DeploySources.Helper
{
	/// <summary>
	/// Argument class to pass parameters to the BackgroundWorker
	/// </summary>
	public class WorkerArgument
	{
		/// <summary>
		/// Context of the current Connection
		/// </summary>
		public ClientContext Context { get; set; }
		/// <summary>
		/// Objects to be deployed
		/// </summary>
		public IEnumerable<IDeployableObject> Objects { get; set; }
	}
}
